package com.tobehonor.satokensample.mybatiscommon.entity;

import com.baomidou.mybatisplus.annotation.*;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.util.Date;

@Data
@EqualsAndHashCode(callSuper = false)
@TableName("sys_operation_log")
public class SysOperationLog implements Serializable {
    
    
    private static final long serialVersionUID = 7643353429555742351L;
    
    @TableId(value = "log_id", type = IdType.ASSIGN_ID)
    private Long logId;
    
    private Long userId;
    
    private String username;
    
    private String operation;
    
    private String method;
    
    private String params;
    
    private Long time;
    
    private String ip;
    
    private Integer status;
    
    private String errorMsg;
    
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
}